Skip to main content

All Questions

Tagged with
0votes
1answer
20views

Moving the Desktop folder (Linux Mint 22.1 Cinnamon)

Recently, I accidentally dragged my "Desktop" folder into another folder (/home/[name]/Programs/). I have been trying to return the Desktop folder to its proper place, /home/[name]/. However,...
AnuraTek's user avatar
1vote
0answers
43views

HDD Write Performance: Pre-allocate vs. Append (Inode Impact?)

When writing a large (10GB) file to an HDD, I'm considering two approaches for writing the data: Pre-allocate: Create a 10GB file upfront and then write data sequentially (e.g., using fallocate on ...
Long Bùi Hải's user avatar
2votes
0answers
57views

find output is different from ls - what could be the reason for this?

On a MacBook, I tried to access one of the system apps, Maps.app which is normally a folder stored in /System/Applications on a separate volume (here mounted as /System/Volumes/Data). What I found odd ...
fstanis's user avatar
0votes
1answer
54views

System call to remove content from file or Append it in the middle?

One issue that I ran into when making a custom database, without creating an entire block-chain based filesystem from scratch, is deletion and insertion from/to the middle. It's easy to many a binary ...
B''H Bi'ezras -- Boruch Hashem's user avatar
0votes
1answer
122views

Why are some files not seekable?

I thought all files were seekable, but I’m going through a codebase that handles cases where a file is not seekable. Why is that necessary? In what scenarios would a file be unseekable, and why?
Aniruddha's user avatar
0votes
0answers
19views

file -i provide two different charsets for the same file on the same FS

I'm a bit confuse about a behavior of the file -i command. I searched a while and give up since I didn't have a sufficient knowledge regarding encoding as well as linux file command (to stay concise ...
ollie314's user avatar
0votes
0answers
38views

Chrome and Edge browsers have both stopped opening a file selector

I am not sure exactly what has happened and all I can find is how to change the default file explorer. Even on this website I can't open the file browser to upload images. I also cannot save images to ...
Jordan Rhea's user avatar
0votes
0answers
50views

How can I combine multiple files into a single larger file on a non-virtual filesystem?

Is there any filesystem where I can say map file1, file2, file3 and file4 together to file1234? file1 is 100M file2 is 100M file3 is 100M file4 is 100M ... and file1234 will then be 400M, and it is ...
user447274's user avatar
1vote
1answer
67views

What filesystems best allow for complete erasure of a file?

So the shred utility supposedly allows one to "securely" delete a file, by repeatedly overwriting it with random data. Obviously on copy-on-write filesystems it is nearly impossible to ...
revsuine's user avatar
0votes
0answers
35views

Is there any way to sort folders by the file type inside them?

I am using XFCE Ubuntu Linux to organize a large collection of media. Among these files are folders containing .pdf files, folders containing .mp3 files, and folders containing .m4b files. Is there ...
LibreEstVitae's user avatar
0votes
0answers
79views

What are all file metadata available to the linux file system that are always available vs optional?

Context: I know that some programs figure out whether they're being run inside a terminal by running the standard C function isatty(STDOUT_FILENO), or isatty(STDIN_FILENO). I believe also that they ...
user56834's user avatar
0votes
1answer
64views

Where did i put my directory?

I wanted to move my World file from my Terraria Server and used (I was currently in the .local directory) sudo mv share/ /terraria because I wanted to move the share folder into the terraria directory....
Mike Gretz's user avatar
0votes
0answers
463views

`No such file or directory:` ruff. but file exists

I am using nixOS and I have a flake.nix. I use pre-commit to run ruff. my pre-commit config: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.3.4 hooks: - id: ruff ...
linuxNewbie's user avatar
-1votes
1answer
1kviews

Why do "force create mode" and "force directory mode" parameters exist in smb.conf?

I am reading How to Set Up a Network Shared Folder on Ubuntu With Samba. At the "Step 2: Configuring Samba" section the following configuration is given: [sambashare] comment= Network Shared ...
Manuel Jordan's user avatar
1vote
0answers
64views

How was the formula for calculating umask derived?

When using umask, I know that to get the resulting permission, the mask is first NOTed and then it is ANDed with the default permission (777 or 666). Now my question is, how was this formula derived? ...
JLC's user avatar
  • 327

153050per page
close